﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<!-- saved from url=(0014)about:internet -->


<head>
	<title>Silverlight Hypervideo Player</title>
    <meta content="HyperVideo silverlight" name="keywords" />
    <meta content="Please see http:\\slhvp.com" name="description" />

    <style type="text/css">
    html, body {
	    height: 100%;
	    overflow: auto;
    }
    body {
	    padding: 0;
	    margin: 0;
    }
    </style>
    <script type="text/javascript" src="Silverlight.js"></script>
    <script type="text/javascript" src="Silverlight.supportedUserAgent.js"></script>
    <script type="text/javascript" src="js/AgInstall.js"></script>
    <script type="text/javascript">

        Silverlight.inject = function(params) {
            new AgInstall.Installer(params);
        }

        Silverlight.onGetSilverlight = function() {
            for (var i in Silverlight.installControls)
                Silverlight.installControls[i].update(AgInstall.INSTALLING);
        };
        
        Silverlight.onRestartRequired = function() {
            for (var i in Silverlight.installControls)
                Silverlight.installControls[i].update(AgInstall.RESTART_REQUIRED);
        };

        Silverlight.onUpgradeRequired = function() {
            for (var i in Silverlight.installControls)
                Silverlight.installControls[i].update(AgInstall.UPGRADE_REQUIRED);
        };

        Silverlight.onInstallRequired = function() {
            for (var i in Silverlight.installControls)
                Silverlight.installControls[i].update(AgInstall.INSTALL_REQUIRED);
        };

        function pageLoaded() {
            if (Silverlight.supportedUserAgent()) {
                // silverlight is supported, update any installers
                for (var i in Silverlight.installControls)
                    Silverlight.installControls[i].update();
            }
            else {
                // silverlight is not supported, tell the installers to report this
                for (var i in Silverlight.installControls)
                    Silverlight.installControls[i].update(AgInstall.NOT_SUPPORTED);
            }
        }
    </script>
    </head>

    <body onload="pageLoaded()">
 

    <div id="silverlightControlHost" style="height:100%;">
      The Silverlight HVP requires Silverlight 4 Release Candidate. Click <a href="http://go.microsoft.com/fwlink/?LinkID=124807">here</a> to update. Browser restart may be required.
    </div>
    
    <script type="text/javascript">
        Silverlight.inject(
            {
                source: "ClientBin/SilverlightHVP.xap",
                parentElement: "silverlightControlHost",
                properties:
                {
                    width: "100%",
                    height: "100%",
                    background: "white",
                    version: "4.0.50303.0"
                },
                // Contextual UI configuration
                installerUiConfig:
                {
                    // The title of the application
                    title: "The Silverlight HyperVideo Platform",

                    // The path of the image to display 
                    // for optimal results use an image that is 165x124 pixels in size
                    picture: "images/wide/light.jpg",  
                    description:
                    {
                        install:
                        {
                            wide: "<p>The Silverlight HyperVideo Player is an open source project,  </p><p>The current version requires Silverlight 4 Release candidate</p>",
                            narrow: "<p>The Silverlight HyperVideo Player is an open source project,  </p><p>The current version requires Silverlight 4 Release candidate</p>",
							small: "<p>The Silverlight HyperVideo Player is an open source project,  </p><p>The current version requires Silverlight 4 Release candidate</p>"
                        },
                        upgrade:
                        {
                            wide: "<p>The Silverlight HyperVideo Player is an open source project,  </p><p>The current version requires Silverlight 4 Release candidate</p>",
                            narrow: "<p>The Silverlight HyperVideo Player is an open source project,  </p><p>The current version requires Silverlight 4 Release candidate</p>",
                            small: "<p>The Silverlight HyperVideo Player is an open source project,  </p><p>The current version requires Silverlight 4 Release candidate</p>"
                        },
						// To use the default text for a section, comment out the lines with custom text
                        installing:
                        {
                            wide: "<p>Almost there! Please wait for the installation update to complete. </p>",
                            narrow: "<p>Almost there! Please wait for the installation update to complete. </p>",
							small: "<p>Almost there! Please wait for the installation update to complete. </p>"
                        },
                        restart:
                        {
                            wide: "<p>All set. Please restart your Web browser to start playing. </p>",
                            narrow: "<p>All set. Please restart your Web browser to start playing. </p>",
                            small: "<p>All set. Please restart your Web browser to start playing. </p>"
                        },
                                                
                        notSupported:
                        {
                           // wide: "<p>This Web browser is not compatible with this game. Try using a compatible Web browser. </p>"
                            //narrow: "<p>Add custom 'browser not compatible' text here.</p>",
                            //small: "<p>Add custom 'browser not compatible' text here.</p>"
                        }
                    },
                    // Sspecify the custom text of the install button/link here.
					// In the large and narrow forms, an arrow graphic element is included.
					// In the small, text-only form, you can specify a > with &gt;
					// For example:, "Update and Go! &gt;"
                    buttonLabel: "Install 4 RC"
                }
            });
      </script>
</body>
</html>

